package com.lemon.exam.entity.dto;

import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 试卷Excel 数据传输对象
 *
 * @author Lemon
 * @since 2025/7/22 15:03
 */
@Getter
@Setter
@ToString
@Schema(name = "试卷试题 - 数据传输对象")
public class PaperExcelDTO {
    @Schema(description = "行号")
    private Integer rowIndex;

    @Schema(description = "题型")
    @ExcelProperty(index = 0)
    private String type;

    @Schema(description = "题干")
    @ExcelProperty(index = 1)
    private String question;

    @Schema(description = "答案")
    @ExcelProperty(index = 2)
    private String answer;

    @Schema(description = "答案解析")
    @ExcelProperty(index = 3)
    private String analysis;

    @Schema(description = "标签")
    @ExcelProperty(index = 4)
    private String tag;

    @Schema(description = "分数")
    @ExcelProperty(index = 5)
    private String score;

    @Schema(description = "选项A")
    @ExcelProperty(index = 6)
    private String optionA;

    @Schema(description = "选项B")
    @ExcelProperty(index = 7)
    private String optionB;

    @Schema(description = "选项C")
    @ExcelProperty(index = 8)
    private String optionC;

    @Schema(description = "选项D")
    @ExcelProperty(index = 9)
    private String optionD;

    @Schema(description = "选项E")
    @ExcelProperty(index = 10)
    private String optionE;

    @Schema(description = "选项F")
    @ExcelProperty(index = 11)
    private String optionF;

    @Schema(description = "选项G")
    @ExcelProperty(index = 12)
    private String optionG;

    @Schema(description = "选项H")
    @ExcelProperty(index = 13)
    private String optionH;

    @Schema(description = "选项I")
    @ExcelProperty(index = 14)
    private String optionI;

    @Schema(description = "选项J")
    @ExcelProperty(index = 15)
    private String optionJ;
}
